package cn.wolfcode.service;

import cn.wolfcode.domain.BalanceDetail;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;
import java.util.List;

public interface IBalanceDetailService extends IService<BalanceDetail> {

    void payInfo(Long walletId, String info, BigDecimal payMoney);

    void refundInfo(BalanceDetail detail, String refundInfo);

    List<BalanceDetail> listByWalletId(Long userWalletId);
}
